package com.migo.service;

import com.migo.entity.UserinfoInternationEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户信息表
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2019-01-28 13:59:34
 */
public interface UserinfoInternationService {
	
	UserinfoInternationEntity queryObject(Integer id);
	
	List<UserinfoInternationEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(UserinfoInternationEntity userinfoInternation);
	
	void update(UserinfoInternationEntity userinfoInternation);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);


	UserinfoInternationEntity phoneLogin(Map<String, String> map);

	UserinfoInternationEntity emailLogin(Map<String, String> map);

	void modiyPassword(String userId,String newPassword);

	UserinfoInternationEntity queryUser(String userId);

	UserinfoInternationEntity userLogOut(String userId);

	UserinfoInternationEntity queryUserExist(Map<String, String> map);

	void register(Map<String, String> map);


	void register(UserinfoInternationEntity user);
}
